package com.hutao.manage.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class UploadScan {
    private Integer id;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date uploadDate;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createDate;

    private String createUserId;

    private String originalFolder;

    private String comment;

    private String firstLevelMedicalGuid;
    
    private List<ScanFile> scanFiles = new ArrayList<ScanFile>();
    

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getUploadDate() {
        return uploadDate;
    }

    public void setUploadDate(Date uploadDate) {
        this.uploadDate = uploadDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public String getOriginalFolder() {
        return originalFolder;
    }

    public void setOriginalFolder(String originalFolder) {
        this.originalFolder = originalFolder == null ? null : originalFolder.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

	public String getFirstLevelMedicalGuid() {
		return firstLevelMedicalGuid;
	}

	public void setFirstLevelMedicalGuid(String firstLevelMedicalGuid) {
		this.firstLevelMedicalGuid = firstLevelMedicalGuid;
	}

	public List<ScanFile> getScanFiles() {
		return scanFiles;
	}

	public void setScanFiles(List<ScanFile> scanFiles) {
		this.scanFiles = scanFiles;
	}

    
    
}